
@for(firstMenu in menuList){
@if(firstMenu.parent.id == "1" && firstMenu.isShow == "1"){
@if(has(firstMenu.href)){
<li>
	<a href="#"><i class="fa fa-file-text"></i><span
			class="text"> ${firstMenu.name}</span> <span
			class="fa fa-angle-down pull-right"></span></a>
	<ul class="nav sub">
		@for(secondMenu in menuList){
		@if(secondMenu.parent.id == firstMenu.id && secondMenu.isShow == "1"){
		@if(has(secondMenu.href)){
		<li>
			<a href="#"><i class="fa fa-file-text"></i><span
					class="text"> ${secondMenu.name}</span> <span
					class="fa fa-angle-down pull-right"></span></a>
			<ul class="nav sub">
				@for(thirdMenu in menuList){
				@if(thirdMenu.parent.id == secondMenu.id && thirdMenu.isShow == "1"){
				<li><a href="${ctx}${thirdMenu.href}"><i
						class="fa "></i><span
						class="text"> ${thirdMenu.name}</span></a>
				</li>
				@}
				@}
			</ul>
		</li>
		@}
		@if(has(secondMenu.href)){
		<li><a href="${ctx}${secondMenu.href}"><i class="fa "></i><span
				class="text"> ${secondMenu.name}</span></a></li>
		@}
		@}
		@}
	</ul>
</li>
@}
@if(has(firstMenu.href)){
<li><a href="${ctx}${firstMenu.href}"><i class="fa "></i><span
		class="text"> ${firstMenu.name}</span></a></li>
@}
@}
@}
                    